struct Base {
  int x;
  virtual void foo() {}
};

struct Derived : Base {
  double y;
};